Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0] load quic early to prevent interaction with tests #75603

Merged

Conversation

CarnaViire
Copy link
Member

@CarnaViire CarnaViire commented Sep 14, 2022

Backport of #75488 to release/7.0
Fixes #75484

/cc @wfurt @karelz @CarnaViire

Customer Impact

Test only change to stabilize networking tests - avoid crashes on arm64-Mono due to a bug in lttng (dependency of MsQuic).

Essentially the same as #75424 but for System.Net.Security and System.Net.Mail -- details:

When msquic is loaded it will also initialize lttng. That calls wait and it can reap processes from RemoteExecutor and that will cause Assert in Process code. (long story and evidence is in #74795)

While the problem really lives in lttng there is no quick fix for that. To void the problem this change tries to load MsQuic early via static variable and that will initialize lttng before any tests actually start.

Testing

CI

Risk

Low. Test-only change

* load quic early to prevent interaction with tests

* update Debian10 image for x64

* rever helix change

* feedback from review

* remove quic reference

* Update src/libraries/System.Net.Security/tests/FunctionalTests/TestHelper.cs

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
@ghost
Copy link

ghost commented Sep 14, 2022

Tagging subscribers to this area: @dotnet/ncl, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #75488 to release/7.0
Fixes #75484

/cc @wfurt @karelz @CarnaViire

Customer Impact

TBA

Testing

CI

Risk

Low. Test-only change

Author: CarnaViire
Assignees: -
Labels:

area-System.Net.Security

Milestone: -

@karelz karelz added this to the 7.0.0 milestone Sep 14, 2022
Copy link
Member

@rzikm rzikm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@carlossanlop
Copy link
Member

CI failure is #75611
Test change only (tell mode). Approved and signed off. Ready to merge. :shipit:

@carlossanlop carlossanlop merged commit 0cc205f into dotnet:release/7.0 Sep 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants